<h1 class="page-header">参数信息</h1>
<form class="form-horizontal" name="form" role="form" ng-controller="parametersFormCtrl">
    <div class="form-group">
        <div class="col-md-6">
            <label class="control-label col-md-2">参数名</label>
            <div class="col-md-6">
                <input id="p_key" type="text" class="form-control" name="parameterKey" ng-model="parameter.key" ng-readonly="operation" />
            </div>
        </div>

        <div class="col-md-6">
            <label class="control-label col-md-2">参数值</label>
            <div class="col-md-6">
                <input type="text" class="form-control" name="parameterValue" ng-model="parameter.value" />
            </div>
        </div>
    </div>

    <div class="form-group">
        <div class="col-md-6">
            <label class="control-label col-md-2">参数说明</label>
            <div class="col-md-6">
                <textarea rows="4" class="form-control" name="parameterMark" ng-model="parameter.mark" />
            </div>
        </div>
        
    </div>

    <div class="form-group">
        <div class="col-md-offset-5 col-md-12">
            <a class="btn btn-success" ng-click="save();" ng-disabled="form.$invalid">保存</a>
            <a class="btn btn-primary" ui-sref="index.parametersMng">关闭</a>
        </div>
    </div>
</form>